<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="/publico/template/templatePadrao.xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://java.sun.com/jsf/core">

    <ui:define name="content">

        <h:form id="formArea" acceptcharset="ISO-8859-1" >

            
            <h:inputHidden 
                id="objArea"
                value="#{areaBean.area.id}"/>
            <h:panelGrid id="areaGrid" columns="3">
                <h:outputText value="Nome: "/>
                <p:autoComplete 
                    id="areaNome" 
                    scrollHeight="100" 
                    value="#{areaBean.area.nome}"   
                    completeMethod="#{curriculoBean.complete}"/>
            </h:panelGrid>

            <p:commandButton 
                ajax="false" value="Salvar" action="#{areaBean.salvar}"/>
            <p:commandButton 
                ajax="false" value="Cancelar" action="listar.xhtml"/>
        </h:form>

    </ui:define>

</ui:composition>
